<?php
require_once($_SERVER['DOCUMENT_ROOT'].'/mpd/config/config.php');


$nip = $_SESSION['NIP'];
//$rev = $_GET['id'];

$query=mysql_query("SELECT b.NIP as nip, b.NAMA as nama, j.JOB_GRADE as jobgrade, c.CORPORATE_TITLE as corp, g.GRADE as grade FROM biodata as b INNER JOIN grade as g ON b.NIP=g.NIP INNER JOIN corporate as c ON b.NIP=c.NIP INNER JOIN job as j ON b.NIP=j.NIP where b.NIP =".$nip);  

	/*while($row = mysql_fetch_array($query)){
		
		$temp = array(

			'nip'              => $row['nip'],
			'nama'             => $row['nama'],
			'jobgrade'         => $row['jobgrade'],
			'corporatetitle'   => $row['corp'],
			'grade'            => $row['grade'],
			'score'            => $row['']
		);
		}*/
?>